home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
ResEdit™ 3.0d1
/
ResEdit™ 3.0d1
/
ResEdit™ 3.0d1.rsrc
/
VDL_3500_DITL Entry Stats.bin
< prev
next >
Wrap
Text File
|
1996-04-23
|
2KB
|
65 lines
Margin(10, 10, 10, 10)
HList()
{
Spacer(Height = 150, Width = 0);
VList()
{
IntegerPopup("Item Type: ",103, type, Width = 220)
{
IntItem("User Item", 0);
IntItem("Push Button", 4);
IntItem("Check Box", 5);
IntItem("Radio Button", 6);
IntItem("Custom Control", 7);
IntItem("Static Text", 8);
IntItem("Edit Text", 16);
IntItem("Icon", 32);
IntItem("Picture", 64);
};
Spacer(Height = 10, Width = 0);
Spacer(Height = 0, Width = 350);
Switch (type) //Edit text.
{
case 4:
case 5:
case 6:
EditText(name, Width = 350, Label = "Title: ", LabelWidth = 100, LabelAlignment = Right, FlushImmediately);
case 7:
case 32:
case 64:
EditText(id, Unsigned(16), Width = 150, Label = "ID: ", LabelWidth = 100, LabelAlignment = Right, FlushImmediately);
case 8:
case 16:
EditText(name, Width = 350, Label = "Text: ", LabelWidth = 100, LabelAlignment = Right, FlushImmediately);
default:
Spacer(Height = 0, Width = 0);
}
Spacer(Height = 10, Width = 0);
Margin(104, 0, 0, 0)
Label("Bounds: ", Single)
Margin(4,4,4,4)
VList()
{
EditText(left, Unsigned(16), Width = 150, Label = "Left: ", LabelWidth = 100, LabelAlignment = Right, FlushImmediately);
Spacer(Height = 2, Width = 0);
EditText(top, Unsigned(16), Width = 150, Label = "Top: ", LabelWidth = 100, LabelAlignment = Right, FlushImmediately);
Spacer(Height = 2, Width = 0);
EditText(right, Unsigned(16), Width = 150, Label = "Right: ", LabelWidth = 100, LabelAlignment = Right, FlushImmediately);
Spacer(Height = 2, Width = 0);
EditText(bottom, Unsigned(16), Width = 150, Label = "Bottom: ", LabelWidth = 100, LabelAlignment = Right, FlushImmediately);
Spacer(Height = 2, Width = 0);
}
Spacer(Height = 10, Width = 0);
Margin(102, 0,0,0)
CheckBox("Disabled", disabled);
} //VList
} //HList